package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-接口-trunk主接口对象 element_port_trunk
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementPortTrunk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 端口 */
    @Excel(name = "端口")
    private String terminalName;

    /** Lag ID */
    @Excel(name = "Lag ID")
    private String lagId;

    /** 成员接口 */
    @Excel(name = "成员接口")
    private String memberPort;

    /** 端口标注 */
    @Excel(name = "端口标注")
    private String terminalLabel;

    /** 系统优先级 已去掉 改为 负载分担算法 */
    @Excel(name = "负载分担算法")
    private String systemLevel;

    /** LAG模式 */
    @Excel(name = "LAG模式")
    private String lagMode;

    /** LAG MAC地址 */
    @Excel(name = "LAG MAC地址")
    private String lagMac;

    /** 最少可用成员数 */
    @Excel(name = "最少可用成员数")
    private String minMembers;

    /** 最多可用成员数 */
    @Excel(name = "最多可用成员数")
    private String maxMembers;

    /** 返回类型 */
    @Excel(name = "返回类型")
    private String returnType;

    /** 主用IPV4地址 */
    @Excel(name = "主用IPV4地址")
    private String ip;

    /** IP地址子网掩码 */
    private String mask;

    /** 等待恢复时间(分钟) */
    @Excel(name = "等待恢复时间(分钟)")
    private String waitMinute;

    /** 端口模式 */
    @Excel(name = "端口模式")
    private String terminalMode;

    /** 用户终结模式 */
    @Excel(name = "用户终结模式")
    private String userEndMode;

    /** 最大帧长度(bytes) */
    @Excel(name = "最大帧长度(bytes)")
    private String maxFrameLen;

    /** MPLS使能 */
    @Excel(name = "MPLS使能")
    private String mplsEnable;

    /** 接口描述 */
    @Excel(name = "接口描述")
    private String portDesc;

    /** 默认Vlan使能 */
    @Excel(name = "默认Vlan使能")
    private String vlanEnable;

    /** 默认Vlan */
    @Excel(name = "默认Vlan")
    private String vlan;

    /** 带宽(Mbps) */
    @Excel(name = "带宽(Mbps)")
    private String mbps;

    /** 成员口角色设置 */
    @Excel(name = "成员口角色设置")
    private String memberRole;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setTerminalName(String terminalName) 
    {
        this.terminalName = terminalName;
    }

    public String getTerminalName() 
    {
        return terminalName;
    }
    public void setLagId(String lagId) 
    {
        this.lagId = lagId;
    }

    public String getLagId() 
    {
        return lagId;
    }
    public void setMemberPort(String memberPort) 
    {
        this.memberPort = memberPort;
    }

    public String getMemberPort() 
    {
        return memberPort;
    }
    public void setTerminalLabel(String terminalLabel) 
    {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel() 
    {
        return terminalLabel;
    }
    public void setSystemLevel(String systemLevel) 
    {
        this.systemLevel = systemLevel;
    }

    public String getSystemLevel() 
    {
        return systemLevel;
    }
    public void setLagMode(String lagMode) 
    {
        this.lagMode = lagMode;
    }

    public String getLagMode() 
    {
        return lagMode;
    }
    public void setLagMac(String lagMac) 
    {
        this.lagMac = lagMac;
    }

    public String getLagMac() 
    {
        return lagMac;
    }
    public void setMinMembers(String minMembers) 
    {
        this.minMembers = minMembers;
    }

    public String getMinMembers() 
    {
        return minMembers;
    }
    public void setMaxMembers(String maxMembers) 
    {
        this.maxMembers = maxMembers;
    }

    public String getMaxMembers() 
    {
        return maxMembers;
    }
    public void setReturnType(String returnType) 
    {
        this.returnType = returnType;
    }

    public String getReturnType() 
    {
        return returnType;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setWaitMinute(String waitMinute) 
    {
        this.waitMinute = waitMinute;
    }

    public String getWaitMinute() 
    {
        return waitMinute;
    }
    public void setTerminalMode(String terminalMode) 
    {
        this.terminalMode = terminalMode;
    }

    public String getTerminalMode() 
    {
        return terminalMode;
    }
    public void setUserEndMode(String userEndMode) 
    {
        this.userEndMode = userEndMode;
    }

    public String getUserEndMode() 
    {
        return userEndMode;
    }
    public void setMaxFrameLen(String maxFrameLen) 
    {
        this.maxFrameLen = maxFrameLen;
    }

    public String getMaxFrameLen() 
    {
        return maxFrameLen;
    }
    public void setMplsEnable(String mplsEnable) 
    {
        this.mplsEnable = mplsEnable;
    }

    public String getMplsEnable() 
    {
        return mplsEnable;
    }
    public void setPortDesc(String portDesc) 
    {
        this.portDesc = portDesc;
    }

    public String getPortDesc() 
    {
        return portDesc;
    }
    public void setVlanEnable(String vlanEnable) 
    {
        this.vlanEnable = vlanEnable;
    }

    public String getVlanEnable() 
    {
        return vlanEnable;
    }
    public void setVlan(String vlan) 
    {
        this.vlan = vlan;
    }

    public String getVlan() 
    {
        return vlan;
    }
    public void setMbps(String mbps) 
    {
        this.mbps = mbps;
    }

    public String getMbps() 
    {
        return mbps;
    }
    public void setMemberRole(String memberRole) 
    {
        this.memberRole = memberRole;
    }

    public String getMemberRole() 
    {
        return memberRole;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("source", getSource())
            .append("terminalName", getTerminalName())
            .append("lagId", getLagId())
            .append("memberPort", getMemberPort())
            .append("terminalLabel", getTerminalLabel())
            .append("systemLevel", getSystemLevel())
            .append("lagMode", getLagMode())
            .append("lagMac", getLagMac())
            .append("minMembers", getMinMembers())
            .append("maxMembers", getMaxMembers())
            .append("returnType", getReturnType())
            .append("ip", getIp())
                .append("mask", getMask())
            .append("waitMinute", getWaitMinute())
            .append("terminalMode", getTerminalMode())
            .append("userEndMode", getUserEndMode())
            .append("maxFrameLen", getMaxFrameLen())
            .append("mplsEnable", getMplsEnable())
            .append("portDesc", getPortDesc())
            .append("vlanEnable", getVlanEnable())
            .append("vlan", getVlan())
            .append("mbps", getMbps())
            .append("memberRole", getMemberRole())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
